package com.ptu.spzx.manager;

import com.ptu.spzx.common.log.annotation.EnableLogAspect;
import com.ptu.spzx.manager.properties.MinioProperties;
import com.ptu.spzx.manager.properties.UserProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

//@EnableLogAspect
//@SpringBootApplication
////扫描包，Knife4jConfig
//@ComponentScan(basePackages = {"com.ptu.spzx"})
////让UserProperties生效
//@EnableConfigurationProperties(value = {UserProperties.class, MinioProperties.class})

@EnableLogAspect
@SpringBootApplication
@ComponentScan(basePackages = {"com.ptu.spzx"})
@EnableConfigurationProperties(value = {UserProperties.class, MinioProperties.class})
public class ManagerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManagerApplication.class,args);
    }
}
